const REACT_APP_DOMAIN = {
    dev: "http://myapp",
    test: "http://myapp",
    prod: "http://myapp"
}[process.env.REACT_APP_ENV as string];

// @ts-ignore
const REACT_APP_PORT={
    LOGIN:{
        dev:80,
        test:80,
        prod:80
    }[process.env.REACT_APP_ENV as string]
}

const REACT_APP_PREFIX={
    LOGIN:"loginservice"
}

// @ts-ignore
export const REACT_APP_URL={
    LOGIN_SERVICE:{
        PORT:REACT_APP_PORT.LOGIN,
        HOST:REACT_APP_DOMAIN,
        URL:`${REACT_APP_DOMAIN}:${REACT_APP_PORT.LOGIN}/${REACT_APP_PREFIX.LOGIN}`
    }
}


